#include "get_function.h"

int main(int argc, char *argv[]) {
    if (argc == 1) {
        printf("There must have an argument.\n");
        getchar();
    } else {
        printf("Input success! Next will run %s.\n"
                       "====================\n", argv[1]);
        funcP funcP = NULL;
        funcP = getFuncPointer(argv[1]);
        if (funcP != NULL) {
            (*funcP)();
        }
    }
    return 0;
}